package com.stylefeng.guns.biz.wxchat.service;

import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.biz.wxchat.model.TWechatUser;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sundm123
 * @since 2018-06-14
 */
public interface ITWechatUserService extends IService<TWechatUser> {

    /**
     * 根据openId进行更新或者插入
     * @param tWechatUser
     */
    int insertOrUpdateByOpenId(TWechatUser tWechatUser);

    void updateGoldCoin(TWechatUser tWechatUser);
}
